home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 26 / Mac Magazin and MacEasy Magazine CD - Issue 26.iso / Wissenschaft & Technik / TimGA 1.1 ƒ / Graphs / (2) Bigger graphs / 19 - Square Grid < prev   
Text File  |  1995-08-14  |  751b  |  106 lines

  1.  
  2. |V|:    49        // Number of nodes
  3. |E|:    84        // Number of edges
  4.  
  5.                 // Edges are represented as pairs of node numbers...
  6.     1    2
  7.     2    3
  8.     3    4
  9.     4    5
  10.     5    6
  11.     6    7
  12.     
  13.     8    9
  14.     9    10
  15.     10    11
  16.     11    12
  17.     12    13
  18.     13    14
  19.  
  20.     15    16
  21.     16    17
  22.     17    18
  23.     18    19
  24.     19    20
  25.     20    21
  26.     
  27.     22    23
  28.     23    24
  29.     24    25
  30.     25    26
  31.     26    27
  32.     27    28    
  33.     
  34.     29    30
  35.     30    31
  36.     31    32
  37.     32    33
  38.     33    34
  39.     34    35
  40.     
  41.     36    37
  42.     37    38
  43.     38    39
  44.     39    40
  45.     40    41
  46.     41    42
  47.     
  48.     43    44
  49.     44    45
  50.     45    46
  51.     46    47
  52.     47    48
  53.     48    49
  54.     
  55.     1    8
  56.     8    15
  57.     15    22
  58.     22    29
  59.     29    36
  60.     36    43
  61.     
  62.     2    9
  63.     9    16
  64.     16    23
  65.     23    30
  66.     30    37
  67.     37    44
  68.     
  69.     3    10
  70.     10    17
  71.     17    24
  72.     24    31
  73.     31    38
  74.     38    45
  75.     
  76.     4    11
  77.     11    18
  78.     18    25
  79.     25    32
  80.     32    39
  81.     39    46
  82.     
  83.     5    12
  84.     12    19
  85.     19    26
  86.     26    33
  87.     33    40
  88.     40    47
  89.     
  90.     6    13
  91.     13    20
  92.     20    27
  93.     27    34
  94.     34    41
  95.     41    48
  96.     
  97.     7    14
  98.     14    21
  99.     21    28
  100.     28    35
  101.     35    42
  102.     42    49
  103.  
  104. ---
  105. This graph is a square grid (6x6 squares).
  106.